﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebCollectApply.aspx.cs"
    Inherits="XWG.JWBST.JWBSTManagementApp.GAXX.WebCollectApply" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>立案信息采集</title>
    <link href="../Styles/channels.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jQuery-1.9.0.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.validationEngine-cn.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.validationEngine.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/alert/ymPrompt.js"></script>
    <link rel="stylesheet" type="text/css" href="../Scripts/alert/skin/qq/ymPrompt.css" />
    <script src="../Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <link href="../Scripts/DatePicker/skin/WdatePicker.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/public.js" type="text/javascript"></script>
    <link href="../Scripts/ValidationEngine/cssnew/template.css" rel="stylesheet" type="text/css" />
    <link href="../Scripts/ValidationEngine/cssnew/validationEngine.jquery.css" rel="stylesheet"
        type="text/css" />
    <style type="text/css">
        #texMsgcontent
        {
            height: 113px;
            width: 212px;
        }
        .inputsubmit
        {
            background: url("../images/btnbg1.jpg") no-repeat;
            height: 34px;
            width: 130px;
            line-height: 34px;
            border: 0;
            padding: 0;
            font: 18px/36px 'SimHei' ,Helvetica,Arial,Sans-serif;
            color: #fff;
            margin: 10px;
        }
        .mainTable{ margin:70px auto 0; }
        .mainTable td{ line-height:35px; font-size:14px; padding-bottom:5px; }
        .mainTable_LeftTd{ text-align:center; }
        .style1
        {
            width: 446px;
        }
		.style1 input{ height:25px; font-size:14px; }
		#btn_askYZM {background: url("../images/btnbg1.jpg") no-repeat;color: #FFFFFF;}
    </style>
    <script type="text/javascript">
        $().ready(function () {

        });
        function getRandom() {
            var Num = "";
            for (var i = 0; i < 6; i++) {
                Num += Math.floor(Math.random() * 10);
            }
            $("#yzm").val(Num);
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" autocomplete="off">
    <div class="tabitem active" style="display: block">
        <table class="mainTable" border="0" cellpadding="0" cellspacing="0">
            <%-- <tr>
                <td class="mainTable_LeftTd">
                    <label for="texTel">
                        姓名：</label>
                </td>
                <td class="mainTable_RightTd">
                    <em style="color: Red">*</em>
                    <input id="texName" name="texName" class="validate[required]" type="text" size="30"
                        value="" runat="server" maxlength="12" data-errormessage-value-missing="请填写您的姓名" />
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texFraudtype">
                        查询密码：</label>
                </td>
                <td class="mainTable_RightTd">
                    <em style="color: Red">*</em>
                    <input id="texpass" name="texpass" class="validate[required,minSize[6],custom[onlyLetterNumber]]"
                        type="password" size="30" value="" runat="server" maxlength="12" data-errormessage-value-missing="请填写查询密码"
                        data-errormessage-range-underflow="密码长度最少6位" />
                </td>
            </tr>--%>
            <tr>
                <td class="mainTable_LeftTd">
                    案件文书字号：
                </td>
                <td class="style1">
                    <em style="color: Red">* </em>
                    <asp:TextBox ID="texqu" runat="server" Width="40px"
                        class="validate[required]"></asp:TextBox>
                    公(<asp:TextBox ID="texjc" runat="server" Width="40px" 
                        class="validate[required]"></asp:TextBox>
                    )<asp:TextBox ID="texjc0" runat="server" Width="40px" 
                        class="validate[required]"></asp:TextBox>
                    字【<asp:TextBox ID="texz" runat="server" Width="40px" class="validate[required]"></asp:TextBox>
                    】第<asp:TextBox ID="texh" runat="server" Width="40px" class="validate[required]"></asp:TextBox>号&nbsp;
                </td>
            </tr>
            <%--            <tr>
                <td class="mainTable_LeftTd">
                    身份证号：
                </td>
                <td class="mainTable_RightTd">
                    <em style="color: Red">*</em>
                    <input id="texID" name="texID" class="validate[required,funcCall[checkIDNum]]" type="text"
                        size="30" value="" runat="server" maxlength="18" data-errormessage-value-missing="请填写您的身份证号" />
                </td>
            </tr>--%>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texReceivedatetime">
                        联系电话：</label>
                </td>
                <td class="style1">
                    <em style="color: Red">*</em>
                    <input id="textel" name="textel" class="validate[required,custom[phone]]" type="text"
                        size="30" value="" runat="server" maxlength="12" data-errormessage-value-missing="请填写您的联系电话" />
                    <asp:Button ID="btn_askYZM" OnClientClick="getRandom()" runat="server" OnClick="btn_askYZM_Click" Text="点击获取验证码"
                        Width="120px" />
                   <%-- <input type="button" onclick="getRandom()" value="点击获取验证码" />--%>
                    <asp:Label ID="LabMes" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texRemark">
                        验证码：</label>
                </td>
                <td class="style1">
                    <table>
                        <tr>
                            <td>
                                <em style="color: Red">*</em>
                                <input id="txtyanzhengma" name="txtyanzhengma" type="text" size="10" value="" runat="server"
                                    maxlength="6" data-errormessage-value-missing="验证码错误" data-prompt-position="centerRight:50,0"
                                    style="width: 90px" />
                            </td>
                            <td>
                                <%--<asp:Image ID="Image1" runat="server" ImageUrl="createImg.aspx" />--%>
                                <asp:Label ID="labMsg" runat="server" Text="" ForeColor="Red"></asp:Label>
                                <input type="text" style="display:none" runat="server" id="yzm"/>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <div>
        <table class="mainTable" style="margin: 0 auto; font-size: 13px">
            <tr>
                <td class="mainTable_ButtonTd" colspan="4" style="text-align: center">
                    <asp:Button ID="Button1" runat="server" Text="提 交" OnClick="Button1_Click" CssClass="inputsubmit" />
                </td>
            </tr>
        </table>
    </div>
    <script type="text/javascript">
        $("#form1").validationEngine({
            scroll: false,
            //binded:false,
            //showArrow:false,
            promptPosition: "centerRight",
            maxErrorsPerField: 1,
            showOneMessage: true,
            addPromptClass: "formError-noArrow formError-text"
        });
        function checkIDNum(field, rules, i, options) {
            var ret = CheckIdCardValidate(field.val());
            if (!ret[0]) {
                // this allows to use i18 for the error msgs
                return ret[1];

            }

        }
    </script>
    </form>
</body>
</html>
